package com.wnxy.pms.product.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 商品评论表
 * </p>
 *
 * @author Jet
 * @since 2022-06-06
 */
@Getter
@Setter
@TableName("pms_comment")
@ApiModel(value = "Comment对象", description = "商品评论表")
public class Comment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("商品ID")
    private Integer productId;

    @ApiModelProperty("评论内容")
    private String content;

    @ApiModelProperty("用户昵称")
    private String memberNickName;

    @ApiModelProperty("星数")
    private String star;

    @ApiModelProperty("评论IP")
    private String memberIp;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("阅读数量")
    private Integer readCount;

    @ApiModelProperty("回复数量")
    private Integer replayCount;


}
